﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess
{
    public class Class1
    {
        NWDataDataContext nwData = new NWDataDataContext();
        public Class1()
        {

        }

        public Employee GetEmployee()
        {
            return  nwData.Employees.Where(e => e.EmpId == 1).FirstOrDefault();
        }
    }
}
